<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加用户成功</title>
<script type="text/javascript"> 

	function savepic() {
		if (document.all.a1 == null) {
			objIframe = document.createElement("IFRAME");
			document.body.insertBefore(objIframe);
			objIframe.outerHTML = "<iframe name=a1 style='width:400px;hieght:300px' src=" + imageName.href + "></iframe>";
			re = setTimeout("savepic()", 1)
		} else {
			clearTimeout(re)
			pic = window.open(imageName.href, "a1")
			pic.document.execCommand("SaveAs")
			document.all.a1.removeNode(true)
		}
	}
</script>
</head>
<body>
	<h1>操作成功了</h1>
	后台返回的信息：${msg}

	<a href="picName.jpg" id=pic1 onclick="savepic();return false;"
		style="cursor: hand">点击下载</a>



</body>
</html>
